/*
 * @Description:
 * @Autor: zhzj
 * @Date: 2020-12-21 14:58:14
 * @LastEditors: zhzj
 * @LastEditTime: 2020-12-21 14:58:14
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';
export const getShipmentData = params => axios.get(`${SERVER.CMSCLOUD_WMS}/part/wayStore/repairInfo`, { params });
export const updatePartPrice = (params) => axios.post(`${SERVER.CMSCLOUD_WMS}/part/wayStore/updatePartPrice`,  params );
export const importTraceInfo = params => axios.put(`${SERVER.CMSCLOUD_WMS}/part/wayStore/importTraceInfo`,  params );
export const compareWsName = params => axios.get(`${SERVER.CMSCLOUD_WMS}/part/wayStore/selectWsNameByName`, { params });
export const compareNoWl = params => axios.get(`${SERVER.CMSCLOUD_WMS}/part/wayStore/selectNoWl`, { params });
export const compareTraceNoWl = params => axios.get(`${SERVER.CMSCLOUD_WMS}/part/wayStore/compareTraceNoWl`, { params });
// / 导出
export const exporturl = params => axios.post(`/api/cmscloud.excel/downloadExcel/exportExcel/${params.CODE}`, params);

//获取物流商下啦框
export const storequeryall = params =>
  axios.get(`${SERVER.CMSCLOUD_WMS}/part/wayStore/storequeryall`, {
    params
  });

